<?php
if(is_array($movies_homepage)){ 
	foreach ($movies_homepage as $key => $movie) {?>
		<div class="film grid_5 alpha omega">
			<h3 class="naglowek-movies"><?php echo $movie['Movie']['name']?></h3>
			<div class="movie">
				<iframe width="286" height="190" src="<?php echo $movie['Movie']['code']?>" frameborder="0" allowfullscreen></iframe>
			</div>
		</div>
<?php }}?>